package com.primecodegen.common.DataModelObject;

import com.primecodegen.common.DataModelAttributes.DataModelAttributesTable;
import com.primecodegen.common.base.*;
import com.primecodegen.util.ComConstants;
import java.util.ArrayList;

/**
 *----------------------------------------------------------
 *----------------------------------------------------------
 * @author Mohammad Awwad
 * Version: v0.0
 * contact: mhmdawwad@gmail.com
 *-----------------------------------------------------------
 *-----------------------------------------------------------
 */
public class DataModelObjectTable extends BaseTable {

    public DataModelObjectTable() {
        init();
    }
    public DataModelObjectOprCols Opr = new DataModelObjectOprCols();
    // ------------Members------------------
    private int ID;
    private String code;
    private int dataModelProject_ID;
    private ArrayList<DataModelAttributesTable> dataModelAttributes;

    // -----------Setters & Getters------------------
    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getDataModelProject_ID() {
        return dataModelProject_ID;
    }

    public void setDataModelProject_ID(int dataModelProject_ID) {
        this.dataModelProject_ID = dataModelProject_ID;
    }

    public ArrayList<DataModelAttributesTable> getDataModelAttributes() {
        return dataModelAttributes;
    }

    public void setDataModelAttributes(ArrayList<DataModelAttributesTable> dataModelAttributes) {
        this.dataModelAttributes = dataModelAttributes;
    }

    @Override
    public void init() {

        ID = ComConstants.UNREALISTIC_INT;
        code = ComConstants.UNREALISTIC_STRING;
        dataModelProject_ID = ComConstants.UNREALISTIC_INT;
        dataModelAttributes = new ArrayList<DataModelAttributesTable>();
    }
}
